﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Cloud.DataStore.Common
{
    /// <summary>
    /// 定义共通的常量
    /// </summary>
    public class Constant
    {
        /// <summary>
        /// MongoDb主键_id
        /// </summary>
        public const string ObjectId = "_id";

        /// <summary>
        /// 时间戳
        /// </summary>
        public const string TimeStamp = "TimeStamp";

        /// <summary>
        /// 版本
        /// </summary>
        public const string Version = "Version";

        /// <summary>
        /// 字符串逗号
        /// </summary>
        public const string CommaStr = ",";

        /// <summary>
        /// 字符逗号
        /// </summary>
        public const char CommaChar = ',';

        /// <summary>
        /// 1个空格
        /// </summary>
        public const string Space = " ";

        /// <summary>
        /// 空字符串
        /// </summary>
        public const string Empty = "";

        /// <summary>
        /// 字符串all
        /// </summary>
        public const string All = "all";
    }
}
